<?php
namespace Wap\Logic;
use Think\Model;

class ZJDailyCardCustomer extends Model
{
    protected $tableName = "customer";

    public function login( $id )
    {
        session( "zjdailyCard.customer.login", $id );
        session( "zjdailyCard.customer.loginTime", time() );
    }

    public function logout()
    {
        session( "zjdailyCard.customer.login", null );
        session( "zjdailyCard.customer.loginTime", time() );
    }

    public function smscodeForRegiste()
    {
    }

    public function smscodeForForget()
    {
    }
}
?>
